//
//  TypesetBtnList.h
//  GaiMeiYouKe
//
//  Created by ypwl on 15/8/7.
//  Copyright (c) 2015年 YPWL. All rights reserved.
//

#import <UIKit/UIKit.h>
@class TypesetBtnList;
@protocol clickDelegate <NSObject>

-(void)clickWithTitle:(NSString *)title  Btn:(UIButton *)btn typeListTitle:(NSString*)list btnListView:(TypesetBtnList *)btnListView;

-(void)clickWithBtn:(UIButton *)btn;

@end

@interface TypesetBtnList : UIView{
    
    UIView *view;
    NSArray *textArray;
    CGSize sizeFit;
    UIColor *lblBackgroundColor;
}
@property(nonatomic,strong)UIColor*titleColor;
@property(nonatomic,strong)UIColor*borderColor;
@property (nonatomic, assign) id<clickDelegate>delegate;
@property (nonatomic, strong) UIView *view;
@property (nonatomic, strong) NSArray *textArray;
@property(nonatomic,copy)NSString*listTitle;
@property(nonatomic,copy)NSString*defaultChoice;
- (void)setLabelBackgroundColor:(UIColor *)color;
- (void)setTags:(NSArray *)array;
- (void)display;
- (void)fittedSize;
-(void)setarr:(NSMutableArray*)arr;
-(void)setBoedercolorWith:(UIColor*)color;
@end
